﻿using Gargoyle.Roton;
using System;
using System.Collections.Generic;
using System.Text;

namespace Gargoyle.ZZT
{
    public class OOPState
    {
        public int CommandsExecuted = 0;

        public bool Died = false;
        public bool Executed = true;
        public bool Finished = false;
        public int Index = 0;
        public ByteString Message = new byte[0];
        public bool Moved = false;
        public ByteString Name = new byte[0];
        public bool NextLine = false;
        public bool Repeat = false;
        public bool Resume = false;
        public Thing Thing;
        public Tile Tile;

        public void AppendMessage(ByteString newMessage)
        {
            Message += newMessage;
        }
    }
}
